<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title>添加渠道服务 - Layui</title>
<link rel="stylesheet" href="/layui/css/layui.css">
<link rel="stylesheet" href="/css/admin.css">
</head>
<body>
<div class="layui-layout layui-layout-admin">
  <div class="layui-header">
    @include('admin.header')
  </div>
  <div class="layui-side layui-bg-black">
    @include('admin.leftadmin')
  </div>
  <div class="layui-body">
    <div>
     <form action="doaddsrevice" method="post" style="width:500px;margin-top: 20px;margin-left: 50px"  class="layui-form">
      <div class="layui-form-item">
        <label class="layui-form-label">店铺号</label>
        <div class="layui-input-block">
          <input type="text" name="mark" lay-verify="required" value="<?php $mark=empty($mark)?'':$mark; echo $mark?>" autocomplete="off" class="layui-input">
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label">服务名称</label>
        <div class="layui-input-block">
          <input type="text" name="svname" lay-verify="required" value="" autocomplete="off" class="layui-input">
        </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label">维修价格</label>
         <div class="layui-input-block">
          <input type="text" name="price" lay-verify="required" value="" autocomplete="off" class="layui-input">
         </div>
      </div>
      <div class="layui-form-item">
        <label class="layui-form-label">服务内容</label>
         <div class="layui-input-block">
          <textarea placeholder="服务的具体内容" class="layui-textarea" name="content"></textarea>
         </div>
      </div>
   
      <div class="layui-input-block">
        <button class="layui-btn" lay-submit="" lay-filter="demo1">确认添加</button>          
      </div>
    </form>
    </div>
  </div>
  <div class="layui-footer">
    <!-- 底部固定区域 -->
  </div>
</body>
</html>

<script src="/layui/layui.js"></script>
<script>
layui.use('element', function(){
  var element = layui.element(); //导航的hover效果、二级菜单等功能，需要依赖element模块

});

</script>
<script>
layui.use(['form', 'layedit', 'laydate'], function(){
  var form = layui.form()
  ,layer = layui.layer
  ,layedit = layui.layedit
  ,laydate = layui.laydate;
  
});
</script>

